package com.agileai.em.service.expenses;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.agileai.domain.DataParam;

@Path("/rest")
public interface DailyReiDataProvider {
    @GET  
    @Path("/daily-rei-list")
    @Produces(MediaType.TEXT_PLAIN)
    String retrieveDailyReiList();
    
    @GET  
    @Path("/daily-rei-Detail/{id}")
    @Produces(MediaType.TEXT_PLAIN)
    String retrieveDailyReiDetail(@PathParam("id") String id);
    
    @GET  
    @Path("/get-select-list/{typeId}")
    @Produces(MediaType.TEXT_PLAIN)
    String getSelectList(@PathParam("typeId") String typeId);
    
    
    @POST  
    @Path("/save-detail-info")  
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.TEXT_HTML)
	public String saveDetailInfo(DataParam detailInfoParam);
    
    @POST  
    @Path("/submit-detail-info")  
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.TEXT_HTML)
	public String submitDetailInfo(DataParam detailInfoParam);
    
    @GET  
    @Path("/daily-rei-detail-tast/{id}")
    @Produces(MediaType.TEXT_PLAIN)
    String retrieveDailyReiDetailTast(@PathParam("id") String id);



}
